package com.jiangtai.smartbox.net;
import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * Created by hecuncun on 2019/5/13
 */
public interface Api {
    /**
     * 添加人脸信息
     */
    @POST("addUserInfo")
    Observable<String> addPersonInfo(@Body RequestBody requestBody);
    /**
     * 查询识别成功列表
     */
    @POST("selectRecords")
    Observable<String>  searchCheckedSuccessPersonList(@Body RequestBody requestBody);

    /**
     * 查用户列表
     *
     */
    @POST("selectUserInfoList")
    Observable<String> searchAll();

    /**
     * 删除人脸
     */
    @POST("delUserInfoByUid")
    Observable<String> deleteUser(@Body RequestBody requestBody);

    /**
     * 清空人脸数据
     */
    @POST("clearFace")
    Observable<String>  deleteAllFaceInfo();

}